<template>
  <div>
    <!-- 头部 -->
    <div class="hed">
      <div class="heades">
        <div class="iconfont icon-left iconf-left" @click="usersFn"></div>
        <div class="shezhis">设置</div>
        <div class="iconfont icon-ellipsis fenlei"></div>
      </div>
    </div>
    <!-- 个人信息部分 -->
    <div class="touxiang">
      <div class="nicheng">
        <ul class="uts">
          <li class="lts">
            <div>头像</div>
            <div class="img">
              <img src="../assets/yonghu.png" alt />
            </div>
          </li>
          <li class="lts">
            昵称
            <i class="iconfont icon-right"></i>
          </li>
          <li class="lts">
            性别
            <i class="iconfont man">
              男性
              <i class="iconfont icon-right"></i>
            </i>
          </li>
          <li class="lts">
            出生日期
            <i class="iconfont xinxi">
              补全信息，即享会员特权
              <i class="iconfont icon-right"></i>
            </i>
          </li>
          <li class="lts">
            性别
            <i class="iconfont xinxi">
              补全信息，即享会员特权
              <i class="iconfont icon-right"></i>
            </i>
          </li>
          <li class="lts">
            地址管理
            <i class="iconfont xinxi">
              补全信息，即享会员特权
              <i class="iconfont icon-right"></i>
            </i>
          </li>
        </ul>
      </div>
    </div>
    <!-- 其他部分 -->
    <div class="qita">
      <div class="anquan">
        <ul class="uts">
          <li class="lts">
            我的车牌
            <i class="iconfont icon-right"></i>
          </li>
          <li class="lts">
            安全中心
            <i class="iconfont xiugai">
              修改登录密码、支付密码等
              <i class="iconfont icon-right"></i>
            </i>
          </li>
          <li class="lts">
            发票抬头管理
            <i class="iconfont icon-right"></i>
          </li>
          <li class="lts">
            性别
            <i class="iconfont icon-right"></i>
          </li>
        </ul>
      </div>
    </div>
    <!-- 退出登录 -->
    <div class="tuichu">
      <div class="btn" @click="TcFn">退出当前帐号</div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  methods: {
    //跳转上一级页面
    usersFn() {
      this.$router.push("/users");
    },
    //退出登录
    TcFn() {
      localStorage.removeItem("name");
      this.$router.push("/");
    }
  }
};
</script>

<style>
.btn {
  width: 95%;
  margin-top: 0.6rem;
  height: 0.7rem;
  font-size: 0.24rem;
  color: #fff;
  background-color: #f13149;
  border-color: rgba(0, 0, 0, 0);
  line-height: 0.7rem;
  text-align: center;
  border-radius: 0.05rem;
  margin: 0 auto;
  margin-top: 0.4rem;
}
.xiugai {
  font-size: 0.23rem;
  color: #999;
}
.qita {
  margin-top: 0.15rem;
}
.xinxi {
  font-size: 0.2rem;
  padding: 0.06667rem 0.13333rem;
  color: #ff4a4a;
}
.man {
  font-size: 0.23rem;
  display: flex;
  align-items: center;
}
.img img {
  height: 1rem;
  width: 1rem;
  padding: 0.2rem;
}
.lts .icon-right {
  color: #9e9e9e;
  font-style: normal;
  line-height: 0.7rem;
  padding: 0 0.04rem;
  display: inline-block;
  font-size: 0.25rem;
}
.uts .lts {
  font-size: 0.23rem;
  line-height: normal;
  padding: 0 0.3rem;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
  border-top: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.touxiang {
  margin-top: 0.15rem;
}
.nicheng {
  background: #fff;
}
.shezhis {
  font-size: 0.3rem;
}
.fenlei {
  font-size: 0.4rem;
}
.iconf-left {
  font-size: 0.35rem;
}
.heades {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hed {
  padding: 0.15rem 0.15rem;

  border-bottom: 1px solid #ddd;
}
</style>